from .celery import app
from NavelApi.libs.YanPian import send_single_sms


@app.task
def send_sms(mobile,sms_code):
    """发送验证码"""
    result = send_single_sms(mobile, sms_code)
    return result


